//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

public class LiveTaskUserDetail implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private Long id;
    private Long createTime;
    private Long createUser;
    private Integer state;
    private Long productSourceId;
    private Long taskUserId;
    private Integer detailOrder;
    private Integer detailType;
    private String detailContent;
    @TableField(
            exist = false
    )
    private String productName;
    @TableField(
            exist = false
    )
    private Long productId;

    public LiveTaskUserDetail() {
    }

    public Long getId() {
        return this.id;
    }

    public Long getCreateTime() {
        return this.createTime;
    }

    public Long getCreateUser() {
        return this.createUser;
    }

    public Integer getState() {
        return this.state;
    }

    public Long getProductSourceId() {
        return this.productSourceId;
    }

    public Long getTaskUserId() {
        return this.taskUserId;
    }

    public Integer getDetailOrder() {
        return this.detailOrder;
    }

    public Integer getDetailType() {
        return this.detailType;
    }

    public String getDetailContent() {
        return this.detailContent;
    }

    public String getProductName() {
        return this.productName;
    }

    public Long getProductId() {
        return this.productId;
    }

    public LiveTaskUserDetail setId(final Long id) {
        this.id = id;
        return this;
    }

    public LiveTaskUserDetail setCreateTime(final Long createTime) {
        this.createTime = createTime;
        return this;
    }

    public LiveTaskUserDetail setCreateUser(final Long createUser) {
        this.createUser = createUser;
        return this;
    }

    public LiveTaskUserDetail setState(final Integer state) {
        this.state = state;
        return this;
    }

    public LiveTaskUserDetail setProductSourceId(final Long productSourceId) {
        this.productSourceId = productSourceId;
        return this;
    }

    public LiveTaskUserDetail setTaskUserId(final Long taskUserId) {
        this.taskUserId = taskUserId;
        return this;
    }

    public LiveTaskUserDetail setDetailOrder(final Integer detailOrder) {
        this.detailOrder = detailOrder;
        return this;
    }

    public LiveTaskUserDetail setDetailType(final Integer detailType) {
        this.detailType = detailType;
        return this;
    }

    public LiveTaskUserDetail setDetailContent(final String detailContent) {
        this.detailContent = detailContent;
        return this;
    }

    public LiveTaskUserDetail setProductName(final String productName) {
        this.productName = productName;
        return this;
    }

    public LiveTaskUserDetail setProductId(final Long productId) {
        this.productId = productId;
        return this;
    }

    public String toString() {
        return "LiveTaskUserDetail(id=" + this.getId() + ", createTime=" + this.getCreateTime() + ", createUser=" + this.getCreateUser() + ", state=" + this.getState() + ", productSourceId=" + this.getProductSourceId() + ", taskUserId=" + this.getTaskUserId() + ", detailOrder=" + this.getDetailOrder() + ", detailType=" + this.getDetailType() + ", detailContent=" + this.getDetailContent() + ", productName=" + this.getProductName() + ", productId=" + this.getProductId() + ")";
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof LiveTaskUserDetail)) {
            return false;
        } else {
            LiveTaskUserDetail other = (LiveTaskUserDetail)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label143: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label143;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label143;
                    }

                    return false;
                }

                Object this$createTime = this.getCreateTime();
                Object other$createTime = other.getCreateTime();
                if (this$createTime == null) {
                    if (other$createTime != null) {
                        return false;
                    }
                } else if (!this$createTime.equals(other$createTime)) {
                    return false;
                }

                Object this$createUser = this.getCreateUser();
                Object other$createUser = other.getCreateUser();
                if (this$createUser == null) {
                    if (other$createUser != null) {
                        return false;
                    }
                } else if (!this$createUser.equals(other$createUser)) {
                    return false;
                }

                label122: {
                    Object this$state = this.getState();
                    Object other$state = other.getState();
                    if (this$state == null) {
                        if (other$state == null) {
                            break label122;
                        }
                    } else if (this$state.equals(other$state)) {
                        break label122;
                    }

                    return false;
                }

                label115: {
                    Object this$productSourceId = this.getProductSourceId();
                    Object other$productSourceId = other.getProductSourceId();
                    if (this$productSourceId == null) {
                        if (other$productSourceId == null) {
                            break label115;
                        }
                    } else if (this$productSourceId.equals(other$productSourceId)) {
                        break label115;
                    }

                    return false;
                }

                Object this$taskUserId = this.getTaskUserId();
                Object other$taskUserId = other.getTaskUserId();
                if (this$taskUserId == null) {
                    if (other$taskUserId != null) {
                        return false;
                    }
                } else if (!this$taskUserId.equals(other$taskUserId)) {
                    return false;
                }

                Object this$detailOrder = this.getDetailOrder();
                Object other$detailOrder = other.getDetailOrder();
                if (this$detailOrder == null) {
                    if (other$detailOrder != null) {
                        return false;
                    }
                } else if (!this$detailOrder.equals(other$detailOrder)) {
                    return false;
                }

                label94: {
                    Object this$detailType = this.getDetailType();
                    Object other$detailType = other.getDetailType();
                    if (this$detailType == null) {
                        if (other$detailType == null) {
                            break label94;
                        }
                    } else if (this$detailType.equals(other$detailType)) {
                        break label94;
                    }

                    return false;
                }

                label87: {
                    Object this$detailContent = this.getDetailContent();
                    Object other$detailContent = other.getDetailContent();
                    if (this$detailContent == null) {
                        if (other$detailContent == null) {
                            break label87;
                        }
                    } else if (this$detailContent.equals(other$detailContent)) {
                        break label87;
                    }

                    return false;
                }

                Object this$productName = this.getProductName();
                Object other$productName = other.getProductName();
                if (this$productName == null) {
                    if (other$productName != null) {
                        return false;
                    }
                } else if (!this$productName.equals(other$productName)) {
                    return false;
                }

                Object this$productId = this.getProductId();
                Object other$productId = other.getProductId();
                if (this$productId == null) {
                    if (other$productId != null) {
                        return false;
                    }
                } else if (!this$productId.equals(other$productId)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof LiveTaskUserDetail;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        int result1 = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $createTime = this.getCreateTime();
        result1 = result * 59 + ($createTime == null ? 43 : $createTime.hashCode());
        Object $createUser = this.getCreateUser();
        result1 = result * 59 + ($createUser == null ? 43 : $createUser.hashCode());
        Object $state = this.getState();
        result1 = result * 59 + ($state == null ? 43 : $state.hashCode());
        Object $productSourceId = this.getProductSourceId();
        result1 = result * 59 + ($productSourceId == null ? 43 : $productSourceId.hashCode());
        Object $taskUserId = this.getTaskUserId();
        result1 = result * 59 + ($taskUserId == null ? 43 : $taskUserId.hashCode());
        Object $detailOrder = this.getDetailOrder();
        result1 = result * 59 + ($detailOrder == null ? 43 : $detailOrder.hashCode());
        Object $detailType = this.getDetailType();
        result1 = result * 59 + ($detailType == null ? 43 : $detailType.hashCode());
        Object $detailContent = this.getDetailContent();
        result1 = result * 59 + ($detailContent == null ? 43 : $detailContent.hashCode());
        Object $productName = this.getProductName();
        result1 = result * 59 + ($productName == null ? 43 : $productName.hashCode());
        Object $productId = this.getProductId();
        result1 = result * 59 + ($productId == null ? 43 : $productId.hashCode());
        return result1;
    }
}
